//ExtensionKeys.java
import java.util.LinkedList;

/**
 * IExtensionKeys.java
 *
 *
 * Created: Sun Apr  8 00:18:27 2007
 *
 * @author <a href="mailto:">Zeke Kaufman</a>
 * @version 1.0
 */

public class ExtensionKeys implements java.io.Serializable  {

  public static final String MUSICNAME   = "music";
  public static final String MOVIENAME   = "movie";
  public static final String PICTURENAME = "picture";

  public static LinkedList musicFlavors         = new LinkedList();
  public static LinkedList movieFlavors         = new LinkedList();
  public static LinkedList pictureFlavors       = new LinkedList();

  public ExtensionKeys(){

    // Music Flavor
    this.musicFlavors.add("mp3");
    this.musicFlavors.add("MP3");

    // Movie Flavor
    this.movieFlavors.add("avi");
    this.movieFlavors.add("AVI");
    this.movieFlavors.add("wmv");
    this.movieFlavors.add("WMV");
    this.movieFlavors.add("mpg");
    this.movieFlavors.add("MPG");

    // Picture Flavor
    this.pictureFlavors.add("jpg");
    this.pictureFlavors.add("JPG");
    this.pictureFlavors.add("gif");
    this.pictureFlavors.add("GIF");

  }

  public void setMusicFlavorExts(LinkedList musicFlavors){
    this.musicFlavors = musicFlavors;
  }

  public void setMovieFlavorExts(LinkedList movieFlavors){
    this.movieFlavors = movieFlavors;
  }

  public void setPictureFlavorExts(LinkedList pictureFlavors){
    this.pictureFlavors = pictureFlavors;
  }

  // TODO: need to implement addToMusicFlavor
  //       addToMovieFlavor addToPictureFlavor

  public LinkedList getMusicFlavorExts(){
    return this.musicFlavors;
  }

  public LinkedList getMovieFlavorExts(){
    return this.movieFlavors;
  }

  public LinkedList getPictureFlavorExts(){
    return this.pictureFlavors;
  }

}
